package com.rybbaby.tss.front.tssMemberPackage.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssMemberPackage.dao.ViewMemberPackageStudentDao;
import com.rybbaby.tss.front.tssMemberPackage.entity.ViewMemberPackageStudent;
import com.rybbaby.tss.front.tssMemberPackage.service.IViewMemberPackageStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ViewMemberPackageStudentServiceImp extends BaseServiceImp<ViewMemberPackageStudent> implements IViewMemberPackageStudentService {

    @Autowired
    private ViewMemberPackageStudentDao dao;

    @Override
    public List<ViewMemberPackageStudent> getAllList() {
        return dao.getAllList();
    }

    @Override
    public List<ViewMemberPackageStudent> findListByStuId(List<String> stuIds) {
        return dao.findListByStuId(stuIds);
    }

    @Override
    public List<ViewMemberPackageStudent> findListByCondition(String stuPhone, String stuName) throws Exception {
        return dao.findListByCondition(stuPhone, stuName);
    }

    @Override
    public List<ViewMemberPackageStudent> findListByType(Integer type) {
        return dao.findListByType(type);
    }

    @Override
    public List<ViewMemberPackageStudent> findListByStatus(Integer stuStatus) {
        return dao.findListByStatus(stuStatus);
    }


}
